package com.ktgj.other.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 专车订单支付信息对象 rc_order_paymentrecord
 * 
 * @author ruoyi
 * @date 2022-07-27
 */
public class RcOrderPaymentrecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long paymentrecordsid;

    /** 订单号 */
    @Excel(name = "订单号")
    private Long orderid;

    /** 银行名称 */
    @Excel(name = "银行名称")
    private String bankname;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankcardnumber;

    /** 持卡人姓名 */
    @Excel(name = "持卡人姓名")
    private String bankcardholdername;

    /** 交易流水号 */
    @Excel(name = "交易流水号")
    private String transactionnumber;

    /** 付款方式：1：信用卡，2：借记卡，4：无卡无密快捷支付，8：支付宝，16：微信支付，32：未知 */
    @Excel(name = "付款方式：1：信用卡，2：借记卡，4：无卡无密快捷支付，8：支付宝，16：微信支付，32：未知")
    private Long paymenttype;

    /** 支付状态：0：未知，10：未支付，20：支付中，30：预授权成功，31：支付成功，40：预授权消费完成，50：预授权消费失败，60：预授权撤销完成，70：预授权撤销失败，80：退款中，90：退款成功，100：退款失败 */
    @Excel(name = "支付状态：0：未知，10：未支付，20：支付中，30：预授权成功，31：支付成功，40：预授权消费完成，50：预授权消费失败，60：预授权撤销完成，70：预授权撤销失败，80：退款中，90：退款成功，100：退款失败")
    private Long paymentstatus;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creattime;

    /** 平台id */
    @Excel(name = "平台id")
    private String joinplatformid;

    /** 合作id */
    @Excel(name = "合作id")
    private String partnerid;

    public void setPaymentrecordsid(Long paymentrecordsid) 
    {
        this.paymentrecordsid = paymentrecordsid;
    }

    public Long getPaymentrecordsid() 
    {
        return paymentrecordsid;
    }
    public void setOrderid(Long orderid) 
    {
        this.orderid = orderid;
    }

    public Long getOrderid() 
    {
        return orderid;
    }
    public void setBankname(String bankname) 
    {
        this.bankname = bankname;
    }

    public String getBankname() 
    {
        return bankname;
    }
    public void setBankcardnumber(String bankcardnumber) 
    {
        this.bankcardnumber = bankcardnumber;
    }

    public String getBankcardnumber() 
    {
        return bankcardnumber;
    }
    public void setBankcardholdername(String bankcardholdername) 
    {
        this.bankcardholdername = bankcardholdername;
    }

    public String getBankcardholdername() 
    {
        return bankcardholdername;
    }
    public void setTransactionnumber(String transactionnumber) 
    {
        this.transactionnumber = transactionnumber;
    }

    public String getTransactionnumber() 
    {
        return transactionnumber;
    }
    public void setPaymenttype(Long paymenttype) 
    {
        this.paymenttype = paymenttype;
    }

    public Long getPaymenttype() 
    {
        return paymenttype;
    }
    public void setPaymentstatus(Long paymentstatus) 
    {
        this.paymentstatus = paymentstatus;
    }

    public Long getPaymentstatus() 
    {
        return paymentstatus;
    }
    public void setCreattime(Date creattime) 
    {
        this.creattime = creattime;
    }

    public Date getCreattime() 
    {
        return creattime;
    }
    public void setJoinplatformid(String joinplatformid) 
    {
        this.joinplatformid = joinplatformid;
    }

    public String getJoinplatformid() 
    {
        return joinplatformid;
    }
    public void setPartnerid(String partnerid) 
    {
        this.partnerid = partnerid;
    }

    public String getPartnerid() 
    {
        return partnerid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paymentrecordsid", getPaymentrecordsid())
            .append("orderid", getOrderid())
            .append("bankname", getBankname())
            .append("bankcardnumber", getBankcardnumber())
            .append("bankcardholdername", getBankcardholdername())
            .append("transactionnumber", getTransactionnumber())
            .append("paymenttype", getPaymenttype())
            .append("paymentstatus", getPaymentstatus())
            .append("remark", getRemark())
            .append("creattime", getCreattime())
            .append("updatetime", getUpdateTime())
            .append("joinplatformid", getJoinplatformid())
            .append("partnerid", getPartnerid())
            .toString();
    }
}
